package com.smedi.ismedi.personnel.core.domain.service;

import com.smedi.ismedi.personnel.core.domain.aggregatemodel.Assignment;

/**
 * @Author: xulinjun
 * @Date: 2021-6-8 11:09
 */
public interface AssignmentDomainService {
    Assignment saveAssignment(Assignment assignment);

    Assignment saveProjectOrganizationAssignment(Assignment assignment);

    Boolean checkHrOrganizationHasAssignments(Long hrOrganizationId);

    void deleteInternalAssignmentsByPersonId(Long personId);
}
